#include <MathematicaKit/MathematicaKit.h>

int main(int argc, char* argv[])
{
	NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];
	MEvaluator* evaluator = [MEvaluator evaluator];
	
	MExpr* res = [evaluator evaluateInputForm: @"Show[Graphics[Line[{{0,0},{1,1}}]]]" asynchronously: NO];
	NSLog(@"%@", res);
	
	[pool release];
	return 0;
}
